package com.kgc.service;

import com.kgc.entity.UserInfo;
import com.kgc.entity.vo.UserInfoVo;

import java.util.List;
import java.util.Map;

public interface UserInfoService {
    UserInfo getUserInfoByUserNameAndUserPwd(String userName,String userPwd,String puserName,boolean isShow);

    int countUserInfoByUserName(String userName);

    Integer addUserInfo(UserInfo userInfo,Integer type);

    List<UserInfoVo> getUserInfoAll(Integer index, Integer limit, Map<String,Object> map);

    int countUserInfoAll(Map<String,Object> map);

    int updateUserInfo(String field,String value,Integer id);

    int delUserInfoById(Integer id);

    UserInfoVo getUserInfoById(Integer id);

    Integer updateUserInfo(UserInfo userInfo);

    Integer addUserInfo(UserInfo userInfo);

    int updateUserMenu(String checkedIds, Integer userId);
}
